package com.usian.behavior.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.behavior.dtos.LikesBehaviorDto;
import com.usian.model.behavior.dtos.UnLikesBehaviorDto;
import com.usian.model.behavior.pojos.ApLikesBehavior;
import com.usian.model.behavior.pojos.ApUnlikesBehavior;
import com.usian.model.common.dtos.ResponseResult;

/**
 * <p>
 * APP点赞行为表 服务类
 * </p>
 *
 * @author itusian
 */
public interface UnLikesBehaviorService extends IService<ApUnlikesBehavior> {
    /**
     * 保存不喜欢行为
     * @param dto
     * @return
     */
    ResponseResult like(UnLikesBehaviorDto dto);

    /**
     * 查询不喜欢行为
     * @param articleId
     * @param entryId
     * @return
     */
    ApUnlikesBehavior getUnLikesBehavior(Long articleId,Integer entryId);
}
